//
//  ContentViewCell.m
//  Cunli
//
//  Created by ZhanyaaLi on 15/11/2.
//  Copyright © 2015年 lilubin. All rights reserved.
//

#import "ContentViewCell.h"
@interface ContentViewCell () < UITextViewDelegate>

@end

@implementation ContentViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    _textView.layer.borderWidth = 0.5;
    _textView.layer.borderColor = [UIColor colorWithHexString:TextViewBorderColorValue].CGColor;
    [_textView setTextColor:[UIColor colorWithHexString:@"0xbbbbbb"]];
    [self setBackgroundColor:[UIColor colorWithHexString:UIBgColorValue]];
    [_textView setBackgroundColor:[UIColor whiteColor]];
    
    _textView.layer.cornerRadius = 2.0;
    _textView.layer.masksToBounds = YES;
//    _textView.delegate = self;
}

/*
- (BOOL)textViewShouldBeginEditing:(UITextView *)textView
{
    if ([_textView.text isEqualToString:@"对村务公开内容进行说明"]) {
        _textView.text = @"";
    }
    [_textView setTextColor:[UIColor blackColor]];
    return YES;
}
*/


@end
